
import { createApp } from 'vue'
import App from './App.vue'

import VueSocketIO from 'vue-socket.io'
import SocketIO from 'socket.io-client'

const options = {
    connection: SocketIO('/', {
        auth: {
            type: 'AA'
        }
    }), // Socket.IO服务器地址
    reconnection: true,
    reconnectionAttempts: 5,
    reconnectionDelay: 3000,
    reconnectionDelayMax: 5000,
    
    // 其他配置选项...
}

createApp(App).use(new VueSocketIO(options)).mount('#app')
